#!/bin/sh
#
# $OpenBSD: vnstatd.rc,v 1.5 2011/12/17 22:01:13 sthen Exp $

daemon="${TRUEPREFIX}/sbin/vnstatd -d"
daemon_user="_vnstat"

. /etc/rc.d/rc.subr

rc_pre() {
	/usr/bin/install -d -o _vnstat /var/run/vnstat
}

rc_cmd $1
